package com.qf.entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 订单详情表(Orderdetails)表实体类
 *
 * @author makejava
 * @since 2023-04-07 19:53:13
 */
@Data
public class Orderdetails extends BaseEntity {
    //订单详情Id（主键）
    private Integer id;
    //订单Id
    private Integer uid;
    //商品Id
    private Integer gid;
    //购买数量
    private Integer quantity;
    //商品单价
    private Double price;
    //收货人姓名
    private String name;
    //收货人手机号
    private String phone;
    //收货地址
    private String address;
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    private LocalDateTime ptime; // 支付时间
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    private LocalDateTime  stime; // 发货时间
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    private LocalDateTime  rtime; // 签收时间

    }

